.music_page {
  width: 100%;

  .sub_nav {
    height: 100px;
    border-bottom: 1px solid #eee;
    .sub_nav_list {
      float: left;
      width: 25%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: 13px;
      color: #555;
    }

    .nav_icon {
      display: block;
      width: 50px;
      height: 50px;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 32px 32px;
      border-radius: 25px;
      border: 1px solid #c82727;
      margin-bottom: 4px;
    }

    .nav_icon_fm {
      background-image: url("./../images/fm-icon.png");
    }

    .nav_icon_ca {
      background-image: url("./../images/ca-icon.png");
    }

    .nav_icon_music {
      background-image: url("./../images/music-menu.png");
      background-size: 26px 26px;
    }

    .nav_icon_sort {
      background-image: url("./../images/sort-icon.png");
      background-size: 28px 28px;
    }
  }

  .item_classify {
    overflow: hidden;
    width: 100%;
    padding: 0 2px;

    .title {
      padding: 0 10px;
      margin: 10px 0;
      font-size: 16px;
      color: #fff;
      position: relative;
      display: flex;
      align-items: center;

      &:before {
        content: "";
        position: absolute;
        height: 66%;
        width: 3px;
        background: #fff;
        left: 0;
        top: 17%;
      }

      * {
        display: block;
      }

    }

    .right_arrow {
      width: 20px;
      height: 20px;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      background-image: url("./../images/arrow-right.png");
      margin-left: 2px;
    }

    .item_wrapper {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
    }

    .space_between {
      justify-content: space-between;
    }

    .music_item {
      width: 32%;
      margin-bottom: 10px;
      overflow: hidden;

      &:nth-child(3n+2) {
        margin: 0 2%;
      }
    }

    .item_width_50 {
      width: 49%;
      margin-bottom: 10px;
    }

    .item_width_100 {
      width: 100%;
    }

    .music_item_cover {
      position: relative;
      &:active {
        opacity: .6;
      }

      .play_number {
        position: absolute;
        right: 8px;
        top: 2px;
        font-size: 12px;
        color: #fff;
        padding-left: 16px;
        z-index: 10;

        &:before {
          content: "";
          display: block;
          width: 14px;
          height: 14px;
          background-image: url("./../images/erji.png");
          background-repeat: no-repeat;
          background-position: center center;
          background-size: cover;
          position: absolute;
          left: 0;
          top: 0;
          bottom: 0;
          margin: auto;
        }

        &.play_number_video {
          padding-left: 18px;
          &:before {
            background-image: url("./../images/video-icon.png");
            height: 9px;
          }
        }

      }
    }

    .music_item_title {
      font-size: 12px;
      color: #ececec;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      margin: 4px;
    }

  }

  .video_icon, .text_icon {
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 10px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(0, 0, 0, .4);
    overflow: hidden;
  }

  .video_icon {
    background-size: 68% auto;
    background-image: url("./../images/video-icon.png");
  }

  .text_icon {
    background-size: 78% auto;
    background-image: url("./../images/text-icon.png");
  }

  .dujia_icon {
    position: absolute;
    left: 4px;
    top: 4px;
    z-index: 99;
  }

}

.search_top {
  height: 100%;
  display: flex;
  padding: 0 12px;

  .left {
    width: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .music {
    width: 22px;
    height: 22px;
    background-image: url("./../images/music.png");
    background-size: 96% auto;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    .div_input {
      height: 30px;
      background: #fff;
      width: 100%;
      border-radius: 15px;
      font-size: 14px;
      color: #aaa;
      display: flex;
      padding: 0 12px;
      align-items: center;
      justify-content: center;
      * {
        display: block;
      }

      &:before {
        display: block;
        content: "";
        width: 20px;
        height: 20px;
        background-image: url("./../images/sreach.png");
        background-size: 96% auto;
        background-repeat: no-repeat;
        background-position: center center;
        margin-right: 10px;
      }
    }

  }
}
